Sequentiality, Second Order Monadic Logic and Tree Automata
نویسنده
چکیده
Given a term rewriting system R and a normalizable term t, a redex is needed if in any reduction sequence of t to a normal form, this redex will be contracted. Roughly, R is sequential if there is an optimal reduction strategy in which only needed redexes are contracted. More generally, G. Huet and J.-J. L evy deene in 9] the sequentiality of a predicate P on partially evaluated terms. We show here that the sequentiality of P is deenable in SkS, the second-order monadic logic with k successors, provided P is deenable in SkS. We derive several known an new consequences of this remark: 1{strong sequentiality, as deened in 9], of a left linear (possibly overlapping) rewrite system is decidable, 2{ NV-sequentiality, as deened in 17] is decidable, even in the case of overlapping rewrite systems 3{ sequentiality of any linear shallow rewrite system is decidable. Then we describe a direct construction of a tree automaton recognizing the set of terms that do have needed redexes, which, again, yields immediate consequences: 1{ Strong se-quentiality of possibly overlapping linear rewrite systems is decidable in EXPTIME, 2{ For strongly sequential rewrite systems, needed redexes can be read directly on the automaton.
منابع مشابه
Sequentiality, Monadic Second-Order Logic and Tree Automata
Given a term rewriting system R and a normalizable term t, a redex is needed if in any reduction sequence of t to a normal form, this redex will be contracted. Roughly, R is sequential if there is an optimal reduction strategy in which only needed redexes are contracted. More generally, G. Huet and J.-J. L evy de ne in [9] the sequentiality of a predicate P on partially evaluated terms. We show...
متن کاملSprachtheoretische Grundlagen F Ur Die Computer Linguistik Frank Morawietz : Monadic Second Order Logic, Tree Automata and Constraint Logic Programming Monadic Second Order Logic, Tree Automata and Constraint Logic Programming
In this paper we present a rst step toward the development of a constraint logic programming (clp) language R(MSO) based on monadic second order (mso) logic. We apply the scheme proposed by HH ohfeld and Smolka (1988) to obtain a relational extension of mso logic with a corresponding sound and complete operational semantics. The solutions to constraints expressed in monadic second order logic a...
متن کاملA Hierarchical Approach to Graph Automata and Monadic Second-Order Logic over Graphs
A hierarchical approach to the decomposition of graphs is introduced which is related to the notion of tree decomposition. On this basis a hierarchical automaton model for graphs is deened. We show that this automaton model is (relative to an appropriate class of graphs) equivalent to monadic second-order logic in expressive power, properly strengthening previous results on monadic second-order...
متن کاملQuerying Unranked Trees with Stepwise Tree Automata
The problem of selecting nodes in unranked trees is the most basic querying problem for XML. We propose stepwise tree automata for querying unranked trees. Stepwise tree automata can express the same monadic queries as monadic Datalog and monadic second-order logic. We prove this result by reduction to the ranked case, via a new systematic correspondence that relates unranked and ranked queries.
متن کاملSpecial tree-width and the verification of monadic second-order graph pr operties
The model-checking problem formonadic second-order logic on graphs is fixed-parameter tractable with respect to tree-width and clique-width. The proof constructs finite deterministic automata from monadic second-order sentences, but this produces automata of hyper-exponential sizes, and this computation is not avoidable. To overcome this difficulty, we propose to consider particular monadic sec...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1995